<template>
  <div class="xq">
        <div class="top">
            <span @click="com='Spjs'">商品介绍</span>
            <span @click="com='Faq'">报税FAQ</span>
            <span @click="com='Sqwj'">授权文件</span>
        </div>

        <component :is="com"></component>
  </div>
</template>

<script>
import Faq from "@/components/xq/faq.vue"
import Spjs from "@/components/xq/spjs.vue"
import Sqwj from "@/components/xq/sqwj.vue"
export default {
  data(){return{
    com:Spjs
  }},
  components:{
      Faq,Spjs,Sqwj
  }
}
</script>

<style lang="scss">
.xq{
  background-color: #fff;
  width: 100%;
  height: .4rem;
  // padding: .1rem;
  .top{
    // margin-bottom: .1rem;
    border-bottom: .01rem solid #ccc;
     span{
      display: inline-block;
      width: .93rem;
      text-align: center;
      line-height: .4rem;
      font-size: .14rem;
      color: #666;
    }

  }
 

}
</style>